package com.yang.leather.admin.pojo;

import java.util.Date;

public class AdminUser implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	public static final String ADMIN_KEY = "_admin_key";

	private Long userId;
	private String userName;
	private String account;
	private String password;
	private Date createDate;

	public AdminUser() {
	}

	public AdminUser(String account, String password, Date createDate) {
		this.account = account;
		this.password = password;
		this.createDate = createDate;
	}

	public AdminUser(String userName, String account, String password,
			Date createDate) {
		this.userName = userName;
		this.account = account;
		this.password = password;
		this.createDate = createDate;
	}

	// Property accessors

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}